package com.lxyk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @ClassName StorageMapper
 * @Description TODO
 * @Author FJQ
 * @Date 2022/11/30 16:25
 * @Version 1.0
 **/
@Mapper
@Repository
public interface StorageMapper {
    //扣减库存信息
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
